public class SimpleANAC2013Agent extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
SimpleANAC2013Agent() |
| Modifier and Type | Method and Description |
|---|---|
Action |
chooseAction()
Accept if the utility of the opponent's is higher than the target utility;
else return a random bid with a utility at least equal to the target utility.
|
void |
endSession(double result)
Set the target utility for the next match on the same preference profile.
|
java.lang.String |
getName() |
static java.lang.String |
getVersion() |
void |
init()
Initialize the target utility to MAX(rv, max).
|
void |
ReceiveMessage(Action opponentAction)
Retrieve the bid from the opponent's last action.
|
getAgentID, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic void init()
public static java.lang.String getVersion()
public java.lang.String getName()
public void endSession(double result)
endSession in class Agentresult - discounted utility of previous session round.public void ReceiveMessage(Action opponentAction)
ReceiveMessage in class Agentpublic Action chooseAction()
chooseAction in class Agent